import { createApp } from 'vue'
import App from './App.vue'
import installElementPlus from './plugins/element'
import router from './router'
import store from './store'
import axios from "axios";
import * as ElIcons from '@element-plus/icons'
import '/src/assets/css/global.css'
import VueAxios from 'vue-axios'



const app = createApp(App).use(store).use(router).use(router)

for(const icon in ElIcons) {
    app.component(icon, ElIcons[icon])
}

installElementPlus(app)

app.config.globalProperties.$axios=axios
axios.defaults.baseURL=""
app.use(VueAxios,axios)

app.mount('#app')